#pragma once

#include "IGUIElement.h"

class GUIListBox;

class GUIListBoxItem : public IGUIElement
{
public:
	typedef std::vector<Pointer<GUIListBoxItem>> Vector_t;

	GUIListBoxItem();

	void Paint();
	bool ReceiveEvent( IEvent& event );
	
	void Text( std::string& text );
	std::string Text() const;
	void Font( std::string& font );
	void Font( HashedString& font );
	HashedString Font() const;
	void FontColor( unsigned int color );
	unsigned int FontColor() const;
	void Background( std::string& background );
	void Background( HashedString& background );
	HashedString Background() const;
protected:
	HashedString m_background;
	HashedString m_font;
	unsigned int m_fontColor;
	std::string m_text;
};